export default {
  manage: {
    register: '/api/users/register', // 注册接口
    login: '/api/users/login', // 登录
    current: '/api/users/current' //  当前
  },
  picture: {
    smms: 'https://sm.ms/api/v2/upload'
  },
  personalCenter: {
    member: {
      info: '/api/center/member/info',
      class: '/api/center/member/class',
      certificates: '/api/center/member/certificate',
      question: '/api/center/member/question'
    },
    employee: {
      info: '/api/center/employee/info',
      news: '/api/center/employee'
    },
    administrator: {
      employee: '/api/center/administrator/employee',
      member: '/api/center/administrator/member',
      teacher: '/api/center/administrator/teacher'
    },
    teacher: {
      info: '/api/center/teacher/info',
      class: '/api/center/teacher/class'
    }
  },
  news: {
    recommend: '/api/news/recommend',
    classify: '/api/news/classify',
    detail: '/api/news'
  },
  exam: {
    exam: '/api/exams/examList/'
  },
  video: {
    getVideo: '/api/chapter/learning/video'
  },
  chapter:{
    chapterBaseInfo: 'api/chapter/learning'
  },
  qandA: {
    getquestion: '/api/qandA/getquestion',
    qandA: '/api/qandA',
  },
  reply: {
    setBestReply: '/api/reply/setBestReply',
    getQuestionDetail: '/api/reply/getQue',
    getReply: '/api/reply',
    mGetReply: '/api/reply/mGetReply',
    getMes: '/api/reply/getMes',
    getComment: '/api/reply/getComment',
    getCommentByChapterNo: '/api/reply/getCommentBychapterNo'
  },
  classlist:{
    findClass: '/api/classlist?'
  },
  classDetail:{
    topayClass:'/api/chapter/topayClass',
    addChapter: '/api/chapter/addChapter',
    addClass: '/api/chapter/addClass',
    deleteChapter: '/api/chapter/deleteChapter',
    deleteClass: '/api/chapter/deleteClass',
    getFirstChapter: '/api/chapter/firstChapter',
    getchapter: '/api/chapter'
  },
  learning:{
    setLearningSpeed: '/api/chapter/updateLearning',
    getLearningSpeed: '/api/chapter/lastStudy',
    getChapterVideo: '/api/chapter/learning/video'
  },
  search: {
    result: '/api/search/result'
  }
}
